﻿<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="adduser.ascx.vb" Inherits="SanDauGia.DAL.adduser" %>
<style type="text/css">

    .style1
    {
        height: 26px;
        width: 85px;
    }
    .style2
    {
        height: 21px;
        width: 85px;
    }
    .style3
    {
        height: 16px;
        width: 85px;
    }
    .style4
    {
        height: 42px;
        width: 85px;
    }
    .style5
    {
        width: 16px;
        height: 40px;
    }
    .style6
    {
        height: 40px;
        width: 85px;
    }
    .style7
    {
        width: 16px;
        height: 26px;
    }
</style>
<table style="width: 402px; margin-right: 4px">
    <tr>
        <td align="left" class="style7">
            <asp:Label ID="lbltendangnhap" runat="server" Text="Tên đăng nhập :  " 
                Width="104px"></asp:Label>
        </td>
        <td class="style1">
            <asp:TextBox ID="txttentaikhoan" runat="server" Width="150px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txttentaikhoan" ErrorMessage="(*)" Width="18px"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="left" style="width: 16px; height: 21px">
            <asp:Label ID="Label8" runat="server" Text="Trạng Thái :" Width="108px"></asp:Label>
        </td>
        <td class="style2">
            <br />
            <asp:DropDownList ID="drtrangthai" runat="server" Height="27px" Width="149px" 
                style="margin-top: 0px">
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
            </asp:DropDownList>
            <br />
            Trạng thái 1 là admin,2 là user .</td>
    </tr>
    <tr>
        <td align="left" class="style5">
            <asp:Label ID="Label9" runat="server" Text="Kích Hoạt:" Width="108px"></asp:Label>
        </td>
        <td class="style6">
            <asp:DropDownList ID="drkichhoat" runat="server" Height="27px" Width="148px">
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
            </asp:DropDownList>
            <br />
            1 là kích hoạt,2 là không kích hoạt.</td>
    </tr>
    <tr>
        <td align="left" style="width: 16px; height: 26px">
            <asp:Label ID="lblemail" runat="server" Text="Email:" Width="108px"></asp:Label>
        </td>
        <td class="style1">
            <asp:TextBox ID="txtemail" runat="server" Width="150px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txttentaikhoan" ErrorMessage="(*)" Width="15px"></asp:RequiredFieldValidator>
                     <asp:RegularExpressionValidator ID="RegularExpressionValidator1" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"  runat="server" 
                        ErrorMessage="Email không hợp lệ" ControlToValidate="txtEmail" 
                        Display="Dynamic"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td align="left" style="width: 16px; height: 21px">
            <asp:Label ID="lblpass" runat="server" Text="Password :  " Width="108px"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtpass" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="txttentaikhoan" ErrorMessage="(*)" Width="1px"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="left" style="width: 16px; height: 16px">
            <asp:Label ID="Label1" runat="server" Text="Nhập lại Pass:  " Width="108px"></asp:Label>
        </td>
        <td class="style3">
            <asp:TextBox ID="txtretype" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="txtpass" ControlToValidate="txtretype" 
                ErrorMessage="Giống Password" Height="23px" Width="108px"></asp:CompareValidator>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="txttentaikhoan" ErrorMessage="(*)" Width="4px"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="left" style="width: 16px; height: 26px">
            <asp:Label ID="Label7" runat="server" Text="CMND:" Width="108px"></asp:Label>
        </td>
        <td class="style1">
            <asp:TextBox ID="txtdiachi" runat="server" Width="150px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="left" style="width: 16px; height: 42px">
            <asp:Label ID="Label4" runat="server" Text="Mã Số Thẻ:" Width="108px"></asp:Label>
        </td>
        <td class="style4">
            <asp:TextBox ID="txtmathe" runat="server" Height="22px" Width="148px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="left" style="width: 16px; height: 21px">
            <asp:Label ID="Label5" runat="server" Text="Họ Tên:" Width="108px"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtdienthoai" runat="server" Width="150px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="left" style="width: 16px; height: 26px">
            <asp:Label ID="Label6" runat="server" Text="Ngày Sinh:" Width="108px"></asp:Label>
        </td>
        <td class="style1">
            <asp:TextBox ID="txtcongty" runat="server" Width="150px"></asp:TextBox>
        </td>
    </tr>
   
    <tr>
        <td align="center" colspan="2" style="height: 6px; ">
            <asp:Button ID="btnthem" runat="server" Text="Thêm" />
            <asp:Button ID="Button2" runat="server" Text="Huỷ" />
            <br />
        </td>
    </tr>
</table>


